package com.sunnyweather.android.logic.network

import com.sunnyweather.android.SunnyWeatherApplication
import com.sunnyweather.android.logic.model.CityResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

interface CityService {
    @GET("/weather/city?Authorization:APPCODE ${SunnyWeatherApplication.APPCODE}")
    fun searchCities(@Query("query") query: String) : Call<CityResponse>
}